//
//  ShellExchangeViewModel.h
//  ShellWallert
//
//  Created by lvzhao on 2020/2/15.
//  Copyright © 2020 VV. All rights reserved.
//

#import "LZBaseViewModel.h"
#import "ShellWallertModel.h"


NS_ASSUME_NONNULL_BEGIN

@interface ShellExchangeViewModel : LZBaseViewModel

@property (nonatomic,strong) ShellWallertModel *wallertModel;

@property (nonatomic,strong) NSString *symbol;

@property (nonatomic,strong) NSString *currentCurrncy;

@property (nonatomic,strong) NSMutableDictionary *configDictionary;


/**
 Convert 請求闪兑的配置參數
 */
- (void)getExchangeConfig;

/**
 Convert   發起對兌換
 @param symbol USDT兑换ETH：usdteth   ETH兑换USDT：ethusdt
 @param amount  数量
 */
- (void) startExchange:(NSString *)symbol
               verCode:(NSString *)amount;

@end

NS_ASSUME_NONNULL_END
